package com.cybertron.ironhide.spider.xml;

import java.util.ArrayList;
import java.util.List;

import org.eweb4j.util.xml.AttrTag;

public class Plugins {

	@AttrTag
	private String enable = "1";

	@AttrTag
	private String name = "spider_plugin";

	@AttrTag
	private String version = "0.0.1";

	@AttrTag
	private String desc = "这是官方实现的默认插件，实现了所有扩展点。";

	private List<Plugin> plugin = new ArrayList<Plugin>();

	@Override
	public String toString() {
		return "Plugin [name=" + name + ", version=" + version + ", desc="
				+ desc + ", plugin=" + plugin + "]";
	}

	public String getEnable() {
		return enable;
	}

	public void setEnable(String enable) {
		this.enable = enable;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public List<Plugin> getPlugin() {
		return plugin;
	}

	public void setPlugin(List<Plugin> plugin) {
		this.plugin = plugin;
	}

}
